home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4299 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  649 b 

  1. Path: geraldo.cc.utexas.edu!usenet
  2. From: trakas@mail.utexas.edu (Travis Kaspar)
  3. Newsgroups: comp.lang.c++
  4. Subject: help finding ranges of types
  5. Date: 29 Jan 1996 16:59:13 GMT
  6. Organization: University of Texas at Austin
  7. Message-ID: <4eiud1$r0u@geraldo.cc.utexas.edu>
  8. NNTP-Posting-Host: slip-35-10.ots.utexas.edu
  9. X-Newsreader: WinVN 0.92.6+
  10.  
  11. I have to determine the ranges (ie allowable values) for all 
  12. the basic types, without using sizeof(type).  I know I could increment
  13. from 0 until the sign changed, but I don't think that will work with float,
  14. and there's bound to be an easier way (doesn't there?)
  15. Thanks,
  16. Travis Kaspar
  17. trakas@mail.utexas.edu
  18.